package com.xyz.entity.mapper;

import com.xyz.entity.pojo.EquipmentElectrical;
import com.xyz.entity.pojo.EquipmentElectricalExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface EquipmentElectricalMapper {
    long countByExample(EquipmentElectricalExample example);

    int deleteByExample(EquipmentElectricalExample example);

    int deleteByPrimaryKey(Long id);

    int insert(EquipmentElectrical record);

    int insertSelective(EquipmentElectrical record);

    List<EquipmentElectrical> selectByExample(EquipmentElectricalExample example);

    EquipmentElectrical selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") EquipmentElectrical record, @Param("example") EquipmentElectricalExample example);

    int updateByExample(@Param("record") EquipmentElectrical record, @Param("example") EquipmentElectricalExample example);

    int updateByPrimaryKeySelective(EquipmentElectrical record);

    int updateByPrimaryKey(EquipmentElectrical record);
}